package com.exam.mysql;

import com.exam.entity.SysChapter;
import com.exam.entity.SysChapterExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysChapterDao {
    long countByExample(SysChapterExample example);

    int deleteByExample(SysChapterExample example);

    int deleteByPrimaryKey(Integer chapterid);

    int insert(SysChapter record);

    int insertSelective(SysChapter record);

    List<SysChapter> selectByExample(SysChapterExample example);

    SysChapter selectByPrimaryKey(Integer chapterid);

    int updateByExampleSelective(@Param("record") SysChapter record, @Param("example") SysChapterExample example);

    int updateByExample(@Param("record") SysChapter record, @Param("example") SysChapterExample example);

    int updateByPrimaryKeySelective(SysChapter record);

    int updateByPrimaryKey(SysChapter record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_chapter
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysChapter> list);
}